Optimal. Leaf size=740 \[ -\frac{\sqrt{2} 3^{3/4} \sqrt [3]{a} \left (\sqrt [3]{a}-\sqrt [3]{a-b x^2}\right ) \sqrt{\frac{a^{2/3}+\sqrt [3]{a} \sqrt [3]{a-b x^2}+\left (a-b x^2\right )^{2/3}}{\left (\left (1-\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a-b x^2}\right )^2}} F\left (\sin ^{-1}\left (\frac{\left (1+\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a-b x^2}}{\left (1-\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a-b x^2}}\right )|-7+4 \sqrt{3}\right )}{b x \sqrt{-\frac{\sqrt [3]{a} \left (\sqrt [3]{a}-\sqrt [3]{a-b x^2}\right )}{\left (\left (1-\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a-b x^2}\right )^2}}}+\frac{3 \sqrt [4]{3} \sqrt{2+\sqrt{3}} \sqrt [3]{a} \left (\sqrt [3]{a}-\sqrt [3]{a-b x^2}\right ) \sqrt{\frac{a^{2/3}+\sqrt [3]{a} \sqrt [3]{a-b x^2}+\left (a-b x^2\right )^{2/3}}{\left (\left (1-\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a-b x^2}\right )^2}} E\left (\sin ^{-1}\left (\frac{\left (1+\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a-b x^2}}{\left (1-\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a-b x^2}}\right )|-7+4 \sqrt{3}\right )}{2 b x \sqrt{-\frac{\sqrt [3]{a} \left (\sqrt [3]{a}-\sqrt [3]{a-b x^2}\right )}{\left (\left (1-\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a-b x^2}\right )^2}}}+\frac{3 x}{\left (1-\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a-b x^2}}+\frac{\sqrt [3]{2} \sqrt [6]{a} \tan ^{-1}\left (\frac{\sqrt{3} \sqrt [6]{a} \left (\sqrt [3]{a}-\sqrt [3]{2} \sqrt [3]{a-b x^2}\right )}{\sqrt{b} x}\right )}{\sqrt{3} \sqrt{b}}+\frac{\sqrt [3]{2} \sqrt [6]{a} \tanh ^{-1}\left (\frac{\sqrt{b} x}{\sqrt [6]{a} \left (\sqrt [3]{2} \sqrt [3]{a-b x^2}+\sqrt [3]{a}\right )}\right )}{\sqrt{b}}+\frac{\sqrt [3]{2} \sqrt [6]{a} \tan ^{-1}\left (\frac{\sqrt{3} \sqrt{a}}{\sqrt{b} x}\right )}{\sqrt{3} \sqrt{b}}-\frac{\sqrt [3]{2} \sqrt [6]{a} \tanh ^{-1}\left (\frac{\sqrt{b} x}{\sqrt{a}}\right )}{3 \sqrt{b}} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.778856, antiderivative size = 740, normalized size of antiderivative = 1., number of steps used = 6, number of rules used = 6, integrand size = 24, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.25 \[ -\frac{\sqrt{2} 3^{3/4} \sqrt [3]{a} \left (\sqrt [3]{a}-\sqrt [3]{a-b x^2}\right ) \sqrt{\frac{a^{2/3}+\sqrt [3]{a} \sqrt [3]{a-b x^2}+\left (a-b x^2\right )^{2/3}}{\left (\left (1-\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a-b x^2}\right )^2}} F\left (\sin ^{-1}\left (\frac{\left (1+\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a-b x^2}}{\left (1-\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a-b x^2}}\right )|-7+4 \sqrt{3}\right )}{b x \sqrt{-\frac{\sqrt [3]{a} \left (\sqrt [3]{a}-\sqrt [3]{a-b x^2}\right )}{\left (\left (1-\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a-b x^2}\right )^2}}}+\frac{3 \sqrt [4]{3} \sqrt{2+\sqrt{3}} \sqrt [3]{a} \left (\sqrt [3]{a}-\sqrt [3]{a-b x^2}\right ) \sqrt{\frac{a^{2/3}+\sqrt [3]{a} \sqrt [3]{a-b x^2}+\left (a-b x^2\right )^{2/3}}{\left (\left (1-\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a-b x^2}\right )^2}} E\left (\sin ^{-1}\left (\frac{\left (1+\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a-b x^2}}{\left (1-\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a-b x^2}}\right )|-7+4 \sqrt{3}\right )}{2 b x \sqrt{-\frac{\sqrt [3]{a} \left (\sqrt [3]{a}-\sqrt [3]{a-b x^2}\right )}{\left (\left (1-\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a-b x^2}\right )^2}}}+\frac{3 x}{\left (1-\sqrt{3}\right ) \sqrt [3]{a}-\sqrt [3]{a-b x^2}}+\frac{\sqrt [3]{2} \sqrt [6]{a} \tan ^{-1}\left (\frac{\sqrt{3} \sqrt [6]{a} \left (\sqrt [3]{a}-\sqrt [3]{2} \sqrt [3]{a-b x^2}\right )}{\sqrt{b} x}\right )}{\sqrt{3} \sqrt{b}}+\frac{\sqrt [3]{2} \sqrt [6]{a} \tanh ^{-1}\left (\frac{\sqrt{b} x}{\sqrt [6]{a} \left (\sqrt [3]{2} \sqrt [3]{a-b x^2}+\sqrt [3]{a}\right )}\right )}{\sqrt{b}}+\frac{\sqrt [3]{2} \sqrt [6]{a} \tan ^{-1}\left (\frac{\sqrt{3} \sqrt{a}}{\sqrt{b} x}\right )}{\sqrt{3} \sqrt{b}}-\frac{\sqrt [3]{2} \sqrt [6]{a} \tanh ^{-1}\left (\frac{\sqrt{b} x}{\sqrt{a}}\right )}{3 \sqrt{b}} \]
Warning: Unable to verify antiderivative.
[In] Int[(a - b*x^2)^(2/3)/(3*a + b*x^2),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 112.322, size = 784, normalized size = 1.06 \[ \text{result too large to display} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((-b*x**2+a)**(2/3)/(b*x**2+3*a),x)
[Out]
_______________________________________________________________________________________
Mathematica [C] time = 0.235956, size = 162, normalized size = 0.22 \[ \frac{9 a x \left (a-b x^2\right )^{2/3} F_1\left (\frac{1}{2};-\frac{2}{3},1;\frac{3}{2};\frac{b x^2}{a},-\frac{b x^2}{3 a}\right )}{\left (3 a+b x^2\right ) \left (9 a F_1\left (\frac{1}{2};-\frac{2}{3},1;\frac{3}{2};\frac{b x^2}{a},-\frac{b x^2}{3 a}\right )-2 b x^2 \left (F_1\left (\frac{3}{2};-\frac{2}{3},2;\frac{5}{2};\frac{b x^2}{a},-\frac{b x^2}{3 a}\right )+2 F_1\left (\frac{3}{2};\frac{1}{3},1;\frac{5}{2};\frac{b x^2}{a},-\frac{b x^2}{3 a}\right )\right )\right )} \]
Warning: Unable to verify antiderivative.
[In] Integrate[(a - b*x^2)^(2/3)/(3*a + b*x^2),x]
[Out]
_______________________________________________________________________________________
Maple [F] time = 0.066, size = 0, normalized size = 0. \[ \int{\frac{1}{b{x}^{2}+3\,a} \left ( -b{x}^{2}+a \right ) ^{{\frac{2}{3}}}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((-b*x^2+a)^(2/3)/(b*x^2+3*a),x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \int \frac{{\left (-b x^{2} + a\right )}^{\frac{2}{3}}}{b x^{2} + 3 \, a}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((-b*x^2 + a)^(2/3)/(b*x^2 + 3*a),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [F(-1)] time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((-b*x^2 + a)^(2/3)/(b*x^2 + 3*a),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \[ \int \frac{\left (a - b x^{2}\right )^{\frac{2}{3}}}{3 a + b x^{2}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((-b*x**2+a)**(2/3)/(b*x**2+3*a),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [F] time = 0., size = 0, normalized size = 0. \[ \int \frac{{\left (-b x^{2} + a\right )}^{\frac{2}{3}}}{b x^{2} + 3 \, a}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((-b*x^2 + a)^(2/3)/(b*x^2 + 3*a),x, algorithm="giac")
[Out]